<%--
  Created by IntelliJ IDEA.
  User: LiuZiMing
  Date: 2023/4/4
  Time: 16:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--传统的web开发中form表单只支持GET和POST请求，如何解决呢？--%>
<%--我们可以通过添加HiddenHttpMethodFilter过滤器，可以把POST请求转为PUT或者DELETE--%>
<form action="/rest/update" method="post">
    <input type="hidden" name="_method" value="PUT">
    <input type="submit" value="提交">
</form>
</body>
</html>

